package com.xueyi.system.deviceManager.service.impl;

import com.xueyi.system.deviceManager.domain.query.BaseDeviceQuery;
import com.xueyi.system.deviceManager.domain.dto.BaseDeviceDto;
import com.xueyi.system.deviceManager.service.IBaseDeviceService;
import com.xueyi.system.deviceManager.manager.IBaseDeviceManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 设备信息管理 服务层处理
 *
 * @author zlf
 */
@Service
public class BaseDeviceServiceImpl extends BaseServiceImpl<BaseDeviceQuery, BaseDeviceDto, IBaseDeviceManager> implements IBaseDeviceService {

    /**
     * 查询设备信息对象列表 | 数据权限 | 附加数据
     *
     * @param device 设备信息对象
     * @return 设备信息对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseDeviceMapper"})
    public List<BaseDeviceDto> selectListScope(BaseDeviceQuery device) {
        return baseManager.selectListExtra(device);
    }

}